@model mtm.Store.Models.SettingStorelModel
@{ 
    /* Copyright ? 2009 - 2010 Oleg Stuhin & Rostislav Haitovich 
       To learn more about Mytrip.Mvc visit  
       http://mytripmvc.net  http://mytripmvc.codeplex.com 
       mytripmvc@gmail.com
       license: Microsoft Public License (Ms-PL) */ 
}
@{
    ViewBag.Title = Html.MytripPageTitle(StoreLanguage.storeSetting);
    ViewBag.Keywords = mtm.Store.ModuleSetting.nameStoreKeyWords();
    ViewBag.Description = mtm.Store.ModuleSetting.nameStoreDesc();
}
@section scriptlink{
@Html.ScriptLink("jquery.validate.min.js,jquery.validate.unobtrusive.min.js")
}
@section content{
@Html.BreadCumps(">",Model.Bread)
<h1 class="title">@StoreLanguage.storeSetting</h1>

@using (Html.BeginForm()){
<fieldset>
    <div class="editor-label">
        @Html.CheckBoxFor(m => m.unlockStore)
        @Html.LabelFor(m => m.unlockStore, StoreLanguage.unlockStore)
    </div>   

    <div class="editor-label">
        @Html.CheckBoxFor(m => m.viewProduktTable)
        @Html.LabelFor(m => m.viewProduktTable, StoreLanguage.viewProduktTable)
    </div>

    <div class="editor-label">
        @Html.LabelFor(m => m.styleProduct, StoreLanguage.styleProduct)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.styleProduct)
        @Html.ValidationMessageFor(m => m.styleProduct)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.widthImgProduct, StoreLanguage.widthImgProduct)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.widthImgProduct)
        @Html.ValidationMessageFor(m => m.widthImgProduct)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.columnProduct, StoreLanguage.columnProduct)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.columnProduct)
        @Html.ValidationMessageFor(m => m.columnProduct)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.styleDepartment, StoreLanguage.styleDepartment)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.styleDepartment)
        @Html.ValidationMessageFor(m => m.styleDepartment)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.widthImgDepartment, StoreLanguage.widthImgDepartment)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.widthImgDepartment)
        @Html.ValidationMessageFor(m => m.widthImgDepartment)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.columnDepartment, StoreLanguage.columnDepartment)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.columnDepartment)
        @Html.ValidationMessageFor(m => m.columnDepartment)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.MoneyProcent, StoreLanguage.MoneyProcent)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.MoneyProcent)
        @Html.ValidationMessageFor(m => m.MoneyProcent)
    </div>

    <div class="editor-label">
        @Html.CheckBoxFor(m => m.onlineBuy)
        @Html.LabelFor(m => m.onlineBuy, StoreLanguage.onlineBuy)
    </div>
    <div class="editor-label">
        @Html.CheckBoxFor(m => m.organizationBuy)
        @Html.LabelFor(m => m.organizationBuy, StoreLanguage.organizationBuy)
    </div>

    <div class="editor-label">
        @Html.LabelFor(m => m.roleChiefStoreManager, StoreLanguage.roleChiefStoreManager)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.roleChiefStoreManager)
        @Html.ValidationMessageFor(m => m.roleChiefStoreManager)
    </div>
    <div class="editor-label">
        @Html.LabelFor(m => m.roleStoreManager, StoreLanguage.roleStoreManager)
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.roleStoreManager)
        @Html.ValidationMessageFor(m => m.roleStoreManager)
    </div>
<div class="editor-label">
@Html.LabelFor(model => model.partialAccordion, "Partial Accordion")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.partialAccordion)
@Html.ValidationMessageFor(model => model.partialAccordion)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.partialNoAccordion, "Partial No Accordion")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.partialNoAccordion)
@Html.ValidationMessageFor(model => model.partialNoAccordion)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.partialMenuLogon, "Partial Menu Logon")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.partialMenuLogon)
@Html.ValidationMessageFor(model => model.partialMenuLogon)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.partialMenuLogonWrap, "Partial Menu Logon Wrap")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.partialMenuLogonWrap)
@Html.ValidationMessageFor(model => model.partialMenuLogonWrap)
</div>




<table class="noborders"><tr><td style="Display:@Model.view_en_us">  

    <div class="editor-label">
        @Html.LabelFor(m => m.nameStore_en_us, StoreLanguage.nameStore + " (en-us)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.nameStore_en_us)
        @Html.ValidationMessageFor(m => m.nameStore_en_us)
    </div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreTitle_en_us, mtm.Store.ModuleSetting.nameStoreTitle("en-us") + " Title (en-us)")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.nameStoreTitle_en_us)
@Html.ValidationMessageFor(model => model.nameStoreTitle_en_us)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreKeywords_en_us, mtm.Store.ModuleSetting.nameStoreTitle("en-us") + " Keywords (en-us)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameStoreKeywords_en_us, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameStoreKeywords_en_us)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreDescription_en_us, mtm.Store.ModuleSetting.nameStoreTitle("en-us") + " Description (en-us)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameStoreDescription_en_us, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameStoreDescription_en_us)
</div>




    <div class="editor-label">
        @Html.LabelFor(m => m.nameProducer_en_us, StoreLanguage.nameProducer + " (en-us)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.nameProducer_en_us)
        @Html.ValidationMessageFor(m => m.nameProducer_en_us)
    </div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerTitle_en_us, mtm.Store.ModuleSetting.nameProducerTitle("en-us") + " Title (en-us)")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.nameProducerTitle_en_us)
@Html.ValidationMessageFor(model => model.nameProducerTitle_en_us)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerKeywords_en_us, mtm.Store.ModuleSetting.nameProducerTitle("en-us") + " Keywords (en-us)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameProducerKeywords_en_us, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameProducerKeywords_en_us)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerDescription_en_us, mtm.Store.ModuleSetting.nameProducerTitle("en-us") + " Description (en-us)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameProducerDescription_en_us, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameProducerDescription_en_us)
</div>




    <div class="editor-label">
        @Html.LabelFor(m => m.NameSearchPage_en_us, StoreLanguage.NameSearchPage + " (en-us)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.NameSearchPage_en_us)
        @Html.ValidationMessageFor(m => m.NameSearchPage_en_us)
    </div>

</td>



<td style="Display:@Model.view_ru_ru">

    <div class="editor-label">
        @Html.LabelFor(m => m.nameStore_ru_ru, StoreLanguage.nameStore + " (ru-ru)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.nameStore_ru_ru)
        @Html.ValidationMessageFor(m => m.nameStore_ru_ru)
    </div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreTitle_ru_ru, mtm.Store.ModuleSetting.nameStoreTitle("ru-ru") + " Title (ru-ru)")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.nameStoreTitle_ru_ru)
@Html.ValidationMessageFor(model => model.nameStoreTitle_ru_ru)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreKeywords_ru_ru, mtm.Store.ModuleSetting.nameStoreTitle("ru-ru") + " Keywords (ru-ru)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameStoreKeywords_ru_ru, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameStoreKeywords_ru_ru)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameStoreDescription_ru_ru, mtm.Store.ModuleSetting.nameStoreTitle("ru-ru") + " Description (ru-ru)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameStoreDescription_ru_ru, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameStoreDescription_ru_ru)
</div>




    <div class="editor-label">
        @Html.LabelFor(m => m.nameProducer_ru_ru, StoreLanguage.nameProducer + " (ru-ru)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.nameProducer_ru_ru)
        @Html.ValidationMessageFor(m => m.nameProducer_ru_ru)
    </div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerTitle_ru_ru, mtm.Store.ModuleSetting.nameProducerTitle("ru-ru") + " Title (ru-ru)")
</div><div class="editor-field">
@Html.TextBoxFor(model => model.nameProducerTitle_ru_ru)
@Html.ValidationMessageFor(model => model.nameProducerTitle_ru_ru)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerKeywords_ru_ru, mtm.Store.ModuleSetting.nameProducerTitle("ru-ru") + " Keywords (ru-ru)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameProducerKeywords_ru_ru, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameProducerKeywords_ru_ru)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.nameProducerDescription_ru_ru, mtm.Store.ModuleSetting.nameProducerTitle("ru-ru") + " Description (ru-ru)")
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.nameProducerDescription_ru_ru, new { @class = "message", style = "height: 50px; width:400px;" })
@Html.ValidationMessageFor(model => model.nameProducerDescription_ru_ru)
</div>




    <div class="editor-label">
        @Html.LabelFor(m => m.NameSearchPage_en_us, StoreLanguage.NameSearchPage + " (ru-ru)")
    </div><div class="editor-field">
        @Html.TextBoxFor(m => m.NameSearchPage_en_us)
        @Html.ValidationMessageFor(m => m.NameSearchPage_en_us)
    </div>


</td></tr></table>
    <div class="button">
        @Html.MytripButton(CoreLanguage.save,true,"left")
        @Html.MytripButton("/Core/ControlPanel", CoreLanguage.cancel, false,"left")
    </div>
</fieldset>
}
}

